package com.ssh.domain.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.ssh.bean.User_SunShuHao;
import com.ssh.dao.UserDAO_SunShuHao;
import com.ssh.domain.Regedit_SunShuHao;
/**
 * 
 * @author 孙树昊
 *
 */
@Transactional
@Service
public class RegeditImpl_SunShuHao implements Regedit_SunShuHao {
	@Resource
	private UserDAO_SunShuHao userDao;
	
	public void deleteUser(User_SunShuHao user) throws Exception {
		userDao.deleteUser(user);
	}

	public void saveUser(User_SunShuHao user) throws Exception {
		userDao.insertUser(user);
	}

	public void updateUser(User_SunShuHao user) throws Exception {
		userDao.updateUser(user);
	}
}
